<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<CustomerViewModel>" %>
<fieldset  class="t-fieldset">
    <legend>Customer Info</legend>
    <dl class="left">
        <dt>Name:</dt><dd><%: Html.DisplayFor(x => x.Name)%></dd>
        <dt>Primary Contact:</dt><dd><%: Html.DisplayFor(x => x.PrimaryPhone)%></dd>
        <dt>ChassiNo:</dt><dd><%: Html.DisplayFor(x => x.ChassiNo)%></dd>
    </dl>
    
    <dl class="right">
        <dt>Model</dt><dd><%: Html.DisplayFor(x => x.VehicleModel)%></dd>
        <dt>License:</dt><dd><%: Html.DisplayFor(x=>x.VehicleLicensePlate) %></dd>
        <dt>PurchaseDate:</dt><dd><%: Html.DisplayFor(x => x.VehiclePurchaseDate)%></dd>
    </dl>
</fieldset>

<style type="text/css">
    .left {float: left; }
    .right{float: right}
    .middle{float:none}
    .t-fieldset
    {
        width: 550px;
        margin-bottom: 20px;
    }
    
</style>
